package com.shbaiche.bifenba.model.user;


import com.shbaiche.bifenba.model.base.PrivateMessage;

//用户登录请求消息和注册请求消息
public class LoginMessage extends PrivateMessage {

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public UserInfoMessage.SexType getSexType() {
        return sexType;
    }

    public void setSexType(UserInfoMessage.SexType sexType) {
        this.sexType = sexType;
    }

    public static enum VerifyType {
        /**
         * 找回登录密码
         */
        FOUNDLOGINPWD("找回登录密码"),
        /**
         * 注册
         */
        REGISTER("注册"),
        /**
         * 手机验证
         */
        VALIDMOBILE("手机验证");

        private String text;

        VerifyType(String text) {
            this.text = text;
        }

        public String getText() {
            return text;
        }

        public void setText(String text) {
            this.text = text;
        }
    }

    /**
     * 登录用户名
     */
    private String loginName;

    /**
     * 登录类型
     */
    private LoginType loginType;

    /**
     * 手机
     */
    private String mobile;

    /**
     * 登录密码
     */
    private String password;

    /**
     * 用户编号
     */
    private String userId;

    /**
     * 新密码
     */
    private String newpassword;

    /**
     * 投注卡号
     */
    private String betcardno;

    /**
     * 短信验证码
     */
    private String mobileCode;

    /**
     * 发送时间间隔
     */
    private String returnValue;

    /**
     * 发送时间
     */
    private String sendTime;

    /**
     * 发送验证码类型
     */
    private VerifyType verifyType;

    /**
     * 手机验证码
     */
    private String verifyCode;

    /**
     * 真实姓名
     */
    private String realName;

    /**
     * 图片：Base64格式
     */
    private String uploadImg;

    /**
     * 图片格式：列（jpg,jpeg,png）
     */
    private String format;
    // 昵称
    private String nickName;

    // 性别
    private UserInfoMessage.SexType sexType;

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public LoginType getLoginType() {
        return loginType;
    }

    public void setLoginType(LoginType loginType) {
        this.loginType = loginType;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getNewpassword() {
        return newpassword;
    }

    public void setNewpassword(String newpassword) {
        this.newpassword = newpassword;
    }

    public String getBetcardno() {
        return betcardno;
    }

    public void setBetcardno(String betcardno) {
        this.betcardno = betcardno;
    }

    public String getMobileCode() {
        return mobileCode;
    }

    public void setMobileCode(String mobileCode) {
        this.mobileCode = mobileCode;
    }

    public String getReturnValue() {
        return returnValue;
    }

    public void setReturnValue(String returnValue) {
        this.returnValue = returnValue;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public VerifyType getVerifyType() {
        return verifyType;
    }

    public void setVerifyType(VerifyType verifyType) {
        this.verifyType = verifyType;
    }

    public String getVerifyCode() {
        return verifyCode;
    }

    public void setVerifyCode(String verifyCode) {
        this.verifyCode = verifyCode;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getUploadImg() {
        return uploadImg;
    }

    public void setUploadImg(String uploadImg) {
        this.uploadImg = uploadImg;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

}
